package com.orchard.xpz.entity.GardenMedication;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

import com.orchard.xpz.entity.BaseEntity;
import com.orchard.xpz.entity.GardenPlot.GardenPlot;
import com.orchard.xpz.entity.pesticidesBuy.PesticidesBuy;
import lombok.Data;

/**
 * garden_medication
 * @author 
 */
@Data
public class GardenMedication extends BaseEntity implements Serializable {
    /**
     * 施肥ID
     */
    private String medId;

    /**
     * 园地ID
     */
    private String gardenId;

    /**
     * 农药id
     */
    private String pesticidesId;

    /**
     * 施药数量
     */
    private Integer medQuantity;

    /**
     * 施药总额
     */
    private BigDecimal medTotalPrice;

    /**
     * 施药日期
     */
    private LocalDate medDate;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建者
     */
    private String createName;

    /**
     * 创建时间
     */
    private LocalDate createTime;

    /**
     * 更新者
     */
    private String updateName;

    /**
     * 更新时间
     */
    private LocalDate updateTime;

    private GardenPlot gardenPlot;

    private PesticidesBuy pesticidesBuy;

    private String gardenName;

    private String gardenVar;

    private Integer gardenSnum;

    private Double gardenArea;

    /**
     * 购买序号
     */
    private String pesticidesSerialNum;

    /**
     * 农药编号
     */
    private String pesticidesNum;

    /**
     * 农药名称
     */
    private String pesticidesName;

    /**
     * 购买数量
     */
    private Double pesticidesQuantity;

    /**
     * 购买单价
     */
    private BigDecimal pesticidesUnitPrice;

    private Integer count;


    private BigDecimal countPric;

    /**
     * 购买总额
     */
    private BigDecimal pesticidesTotalPrice;

    private static final long serialVersionUID = 1L;
}